<?php

namespace App\Models\lak;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Login extends Model
{
    use HasFactory;
    public $table = 'ly_wx_users';
    protected $fillable = ['phone'];


    public static function GetPhone($result){
        return self::query()->where($result)->first();
    }

    public static function Creat($result){
        return self::query()->create($result);
    }

}
